package com.ctshk.rpc.system.req.main.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 新增/修改 科目Req
 */
@Data
@ApiModel(value = "MainDataSubjectAddReq",description = "新增/修改 科目Req")
public class MainDataSubjectAddReq implements Serializable {

    @ApiModelProperty(value = "ID（修改的时候传）")
    private Long id;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "科目编码")
    private String number;

    @ApiModelProperty(value = "科目名称")
    private String name;

    @ApiModelProperty(value = "赊额方向（0借 1贷）")
    private Integer type;

    @ApiModelProperty(value = "摘要")
    private String summary;

    @ApiModelProperty(value = "科目类型（1：团费，2：保险）")
    private Integer collectionType;

    @ApiModelProperty(value = "狀態（0：有效 1：無效）")
    private Integer status;

}
